﻿namespace PoemGame.MessageSender
{
    /// <summary>
    /// 用于对外发布消息
    /// </summary>
    public interface IMessageSender
    {
        /// <summary>
        /// 发布消息
        /// </summary>
        /// <param name="messageType">消息类型</param>
        /// <param name="messageBody">消息内容</param>
        /// <returns></returns>
        Task SendMessage(string messageType, string messageBody);
    }
}